<!doctype html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="renderer" content="webkit" />
	<meta name="Keywords" content="比特活智能物业平台" />
	<title></title>
	<link rel="stylesheet" href="__PUBLIC__/css/pintuer.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/Frame.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/jquery.mCustomScrollbar.css" />
	<script src="__PUBLIC__/js/jquery.js"></script>
	<script src="__PUBLIC__/js/pintuer.js"></script>
	<script src="__PUBLIC__/js/Frame.js"></script>
	<script src="__PUBLIC__/js/album_controller_edit4.js"></script>
	<script src="__PUBLIC__/js/jquery.mCustomScrollbar.concat.min.js"></script>
</head>
<body class="bgGray scrollbar">
<div class="layout padding-big-left padding-big-right overflow mainBox">
	<div class="layout bg-white height-54 siteNav border">
		<div class='x6'>
			<ul class="bread overflow">
				<li><a href="#" class="text-blue">小巨人</a> </li>
				<li>相册管理</li>
				<li>相册编辑</li>
			</ul>	
		</div>
		<div class='x2 x4-move'>
			<a class='button bg-green ' id='Img_Add_Hit'>新增图片</a>
		</div>
	</div>

	<div class='line margin-top margin-bottom' id='Album_Name_1'>
		<div class='x12 hiddens'>
			相册名：<span class='Album_Name_View'></span>
			　　
			<a class='button' id='Album_Name_1_sub'>修改</a>
		</div>
	</div>

	<div class='line margin-top margin-bottom hidden' id='Album_Name_2'>
		<div class='x3 hiddens'>
			<input class='input' name='album_name' value='' />
		</div>
		<div class='x2 x1-move'>
			<a class='button bg-blue' id='Album_Name_2_sub'>提交</a>
		</div>
	</div>

	<div style='position:absolute;top:200px;left:0;width:100%;height:300px;' class='hidden' id='Img_Add_Area'>
		<div class='line padding-big' style='width:500px;height:100%;margin:0 auto;background:#fff;border:1px solid #ddd;border-bottom:2px solid #ccc;border-left:2px solid #ccc' >
			<h2 style='font:normal bold 25px/50px normal;color:green'>新增图片</h2>
			<hr>
			<div class='x12 margin-top'>
				<form id='f1' action='album_controller_edit_upload' method='post' enctype="multipart/form-data">
					<input type='hidden' name='album_id' value='{$album_id}' />
					<div class='x4'>
							<a class="button input-file" href="javascript:void(0);">+ 选择图片<input size="100" name='img[]' type="file" multiple onchange="previewImage(this)" /></a>
					</div>
					<div class='x8 ViewPic hidden'>
						<img src='' id='Img_Head'/> ......
					</div>
					<div class='x12 margin-large-top'>
						<div class='x5 x7-move'>
							<input type='submit' class='button' value='提交' />
							<a class='button'  id='Img_Add_Cancel' />取消</a>
						</div>
					</div>
				</form>
			</div>
			<div class='x11 padding margin-top text-red '>注：只能上传jpg,png,gif格式图片，单张图片不得大于700K，同时最多可上传九张图片</div>
		</div>
	</div>

	<!--临时浮动显示图片-->
	<div id='Pic_Ele' style='width:250px;position:absolute;top:100px;left:600px' class='hidden'>
		<img src='' style='width:100%' />
	</div>

	<div class='layout bg-white border borderE' >
		<table class='table'>
			<tr>
				<th>
					<input type='checkbox' name='img_all' />
					全选
				</th>
				<th>图片</th>
				<th>创建时间</th>
				<th>操作</th>
			</tr>
			<volist name='data.list' id='vo'>
				<tr>
					<td ><input type='checkbox' name='img_alls' value='{$vo.imgs_id}'/></td>
					<td><img src='__PUBLIC__/images/album/{$vo.imgs_src}' width='50px' onmouseover='ViewPic(this)' onmouseleave="ClosePic(this)"/></td>
					<td>{$vo.imgs_ctime|date='Y-m-d H:i:s',###}</td>
					<td>
						<a class='button button-little Img_Banner' img_src='{$vo.imgs_src}'>设为封面</a>
						<a class='button button-little bg-red Img_Del' img_id='{$vo.imgs_id}'>删除</a>
					</td>
				</tr>
			</volist>
		</table>
	</div>
	<div class='line margin-top'>
		<div class='x3'>
			<if condition="$DataListCount gt 0">
				<a class='button button-small bg-yellow Img_Dels'>删除选中</a>
			</if>
		</div>
	</div>

	<div class='text-center margin'>
		{$data['fpage']}
	</div>
	
</div>
</body>
</html>